#ifndef CLASSFEATUREPROXYMODEL_H
#define CLASSFEATUREPROXYMODEL_H



#include "proxies_global.h"
#include "AbstractTreeProxyModel.h"



class PROXIESSHARED_EXPORT ClassFeatureProxyModel : public AbstractTreeProxyModel
{
    Q_OBJECT

public:

    enum Field
    {
        Field_FIRST = 0,
        NameField = Field_FIRST,
        ValueField,
        Field_LAST = ValueField
    };

    ClassFeatureProxyModel(QObject *parent = 0);

    virtual int columnCount(const QModelIndex &parent) const;
    virtual QVariant headerData(int section, Qt::Orientation orientation, int role) const;

    virtual Qt::ItemFlags flags(const QModelIndex &index) const;


protected slots:

    virtual void remap();

    void mapIndex(const int& field, const QModelIndex& sourceIndex);


};

#endif // CLASSFEATUREPROXYMODEL_H
